home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 44
/
Amiga Format CD44 (1999-08-26)(Future Publishing)(GB)(Track 1 of 3)[!][issue 1999-10].iso
/
-serious-
/
misc
/
verscheck
/
goodies
/
version.readme
< prev
Wrap
Text File
|
1999-07-26
|
810b
|
22 lines
Short: Bugfixed c:version command
Uploader: fsteinfe@iiic.ethz.ch (Frederic Steinfels)
Author: Urs Eprecht
Type: util/shell
Version: 40.1
DESCRIPTION
This is a patch/replacement for the original c:version command.
It had a nasty bug: If the last four bytes of a file contained
a $ sign, the version command went into an endless loop.
The new version command contains a work aournd for this
problem: It internally reduces the file size by four bytes.
This is save as the last four bytes can't contain a complete
version string.
The workaround code requires 14 bytes. They were gained by
shortening the text:
"This disk requires Kickstart version 2.04 or greater"
to
"Kickstart 2.04 or greater required"
This was much easier than increasing the file size.